package ${package}.${moduleName}.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * ${comments}
 *
 * @author ${author}
 * @date ${datetime}
 */
@Mapper
public interface ${className}Mapper extends BaseMapper<${className}> {

    /**
    * 通过id物理删除
    * @param id
    * @return
    */
    @Delete("delete from ${tableName} where id = <#noparse>#</#noparse>{id}")
    int deletedById(@Param("id") Long id);

}
